implement the bounds method correctly. (compute_viewport_affine): compute
authorLarry Ewing <lewing@gimp.org>
Wed, 17 Nov 1999 23:21:34 +0000 (23:21 +0000)
committerLarry Ewing <lewing@src.gnome.org>
Wed, 17 Nov 1999 23:21:34 +0000 (23:21 +0000)
commit36a27c6759d1d7c7d17133beebed207c90c5964a
tree6c2f27115d943a876b5b94c52ad6f211f58ac534
parent974e54fc9abb7b9748a3f88f05b4a265e1c7d8d2
implement the bounds method correctly. (compute_viewport_affine): compute

1999-11-17  Larry Ewing  <lewing@gimp.org>

* src/gnome-canvas-pixbuf.c (gnome_canvas_pixbuf_bounds):
implement the bounds method correctly.
(compute_viewport_affine): compute the affine need to fit the
image within the viewport given by the args.
(compute_render_affine): call compute_viewport_affine.
gdk-pixbuf/ChangeLog
gdk-pixbuf/gnome-canvas-pixbuf.c